#!/usr/bin/env node

const { Readable } = require('stream');
const rs = new Readable(),
    fs = require('fs');

rs.push('hello');
rs.push('world');
rs.push(null);
console.log(rs);
rs.pipe(fs.createWriteStream('./test.txt'));

